package com.swanclouds.redfish.common.redfish;

import com.fasterxml.jackson.annotation.JsonRootName;
import com.swanclouds.model.ModelEntity;

/**
 * @author 李文强
 * description 服务器上下电枚举
 */
@JsonRootName("PowerOnPermit")
public enum PowerOnPermit implements ModelEntity {

    On("On","上电"),
    Off("Off","下电");

    private String value;
    private String description;

    PowerOnPermit(String value,String description) {
        this.value = value;
        this.description = description;
    }
}
